import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule, JsonpModule,URLSearchParams } from '@angular/http';
import { RouterModule, Routes } from '@angular/router';
import { AccordionModule,AlertModule,ButtonsModule } from 'ngx-bootstrap';
import 'rxjs/Rx';
import {SelectService} from './tip3/select.service';
import {Data} from './tip3/items';
import { AppComponent } from './app.component';
import { SignComponent } from './sign/sign.component';
import { Tip2Component } from './tip2/tip2.component';
import { Tip3Component } from './tip3/app.component';
import { Tip4Component } from './tip4/tip4.component';
import { FooterComponent } from './footer/footer.component';


@NgModule({
  declarations: [
    AppComponent,
    SignComponent,
    Tip2Component,
    Tip3Component,
    Tip4Component,
    FooterComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    RouterModule,
    JsonpModule,
    AccordionModule.forRoot(),
    AlertModule.forRoot(),
    ButtonsModule.forRoot()
  ],
  providers: [
     AppComponent,
     SelectService
  ],

  bootstrap: [AppComponent]
})
export class AppModule { }
